package com.fireandsword.system.enums;

import com.fireandsword.system.domain.vo.StatusCode;
import lombok.Getter;

/**
 * @author Immortal
 * @version 1.0
 * @description TODO
 * @date 2024/1/5 11:00
 */
@Getter
public enum AppCode implements StatusCode {

    APP_ERROR(2000, "业务异常"),
    PRICE_ERROR(2001, "价格异常");

    private Integer code;
    private String msg;

    AppCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
